package com.aaa.service;

import com.aaa.entity.Role;
import com.aaa.util.DefaultMsg;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface RoleService extends IService<Role> {
//    添加或者修改
    DefaultMsg addOrUpdate(Role role, String menuIds);
//    删除
    DefaultMsg delete(Integer rid);
    List<Role> listAll(String keyword);
}
